{% extends "!layout.html" %}

{% set splitname = pagename.split('/') %}
{% if splitname[1] == 'tabular' or 'deepchecks.tabular' in splitname[2]%}
{% set submodule = 'tabular' %}
{% elif splitname[1] == 'vision' or 'deepchecks.vision' in splitname[2]%}
{% set submodule = 'vision' %}
{% else %}
{% set submodule = 'general' %}
{% endif %}

{%- block htmltitle %}
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
        w[l] = w[l] || []; w[l].push({
            'gtm.start':
                new Date().getTime(), event: 'gtm.js'
        }); var f = d.getElementsByTagName(s)[0],
            j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
                'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'dataLayer', 'GTM-NNKXRJQ');</script>
<!-- End Google Tag Manager -->
<meta name="title" content="{{ title }} | Deepchecks Documentation">
<meta name="description" content="Do you need to know more about {{ title }}? Read more at Deepchecks Online Documentation">
<meta name="docsearch:version" content="{{ version }}">


<!-- Warning: 
        The 'shortcut link' type is often seen before icon, but this link type is non-conforming, 
        ignored and web authors must not use it anymore. 
        MDN docs https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
    -->
<link rel="shortcut icon" href="/_static/favicons/favicon.ico">
<link rel="canonical" href="https://docs.deepchecks.com/stable/{{pagename}}.html" />

<link rel="icon" href="/_static/favicons/favicon.png" sizes="32x32">
<link rel="icon" href="/_static/favicons/favicon.png" sizes="192x192">

<!-- Note: 
        Apple's iOS does not use this 'link' type, nor the 'sizes' attribute, 
        like others mobile browsers do, to select a webpage icon for Web Clip 
        or a start-up placeholder. Instead it uses the non-standard 'apple-touch-icon'.
        MDN docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types;
        Safari Web Content Guide: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html#//apple_ref/doc/uid/TP40002051-CH3-SW4
    -->
<link rel="apple-touch-icon" href="/_static/favicons/apple-touch-icon.png" sizes="32x32">
<link rel="apple-touch-icon" href="/_static/favicons/apple-touch-icon.png" sizes="192x192">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />

{{ super() }}
{%- endblock %}

{% block scripts %}
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/@jupyter-widgets/html-manager@^0.20.0/dist/embed-amd.js"
    crossorigin="anonymous"></script>
{% endblock %}

{%- block body_tag %}

<body data-spy="scroll" data-target="#bd-toc-nav">
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NNKXRJQ" height="0" width="0"
            style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <script>
        require.config({
            paths: {
                "docsearchLib": "https://cdn.jsdelivr.net/npm/@docsearch/js@3?noext",
                "clipboardjs": "/{{ version }}/_static/clipboard.min"
            }
        }

        );
        require(["docsearchLib"], function (docsearch) {
            docsearch({
                appId: "3UQ0BSGJ1N", apiKey: "83d250f88e29e9906a50ddf40a1871ce", indexName: "deepchecks", container: '#algolia-search', debug: false,
                searchParameters: {
                    facetFilters: ["version:{{ version }}"]
                }
            });
        });
        require(["clipboardjs"], function(clipboardJS) {
            window.ClipboardJS=clipboardJS
        });
    </script>
    <div style="display:none;" id="dc-submodule">{{ submodule }}</div>
    <script data-url_root="/" id="documentation_options" src="/{{ version }}/_static/documentation_options.js"></script>
    <script src="/{{ version }}/_static/copybutton.js"></script>
{% endblock %}

{% block docs_main %}
    {% if sidebars %}
        {% set content_col_class = "col-md-9 col-xl-7" %}
    {% else %}
        {% set content_col_class = "col-md-11 col-xl-8" %}
    {% endif %}
    <main class="col-12 {{ content_col_class }} py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
        {% if get_check_example_api_reference(pagename) %}
            {{ get_check_example_api_reference(pagename) }}
        {% endif %}
        {% block docs_body %}
            <div>
                {% block body %} {% endblock %}
            </div>
        {% endblock %}
        {% if theme_show_prev_next %}
            {% include "prev-next.html" %}
        {% endif %}
    </main>
{% endblock %}